package com.bupt.fmmall.service.Impl;

import com.bupt.fmmall.service.AdminService;
import com.bupt.fmmall.entity.Admin;
import com.bupt.fmmall.entity.Customer;
import com.bupt.fmmall.entity.Supplier;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 */
@Service
public class AdminServiceImpl implements AdminService {

    @Override
    public Admin register(String userName, String password) {
        return null;
    }

    @Override
    public String login(String userName, String password) {
        return null;
    }

    @Override
    public Admin getAdmin(String userName) {
        return null;
    }

    @Override
    public Customer getCustomer(String userName) {
        return null;
    }

    @Override
    public Supplier getSupplier(String userName) {
        return null;
    }

    @Override
    public int updateAdmin(String userName, Admin admin) {
        return 0;
    }

    @Override
    public int updateCustomer(String userName, Customer customer) {
        return 0;
    }

    @Override
    public int deleteAdmin(String userName) {
        return 0;
    }

    @Override
    public int deleteCustomer(String userName) {
        return 0;
    }

    @Override
    public int deleteSupplier(String userName) {
        return 0;
    }

    @Override
    public int updatePassword(String userName, String oldPassword, String newPassword) {
        return 0;
    }
}
